﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace May_26_2021
{
    class Superman : Animal, IFlyable
    {
        public Superman() { }
        public Superman(string animaltype):base(animaltype)
        {
            this.Animaltype = animaltype;
        }
        public void Fly()
        {
            Console.WriteLine("{0}在飞",this.Animaltype);
        }

        public void Land()
        {
            Console.WriteLine("{0}着陆了", this.Animaltype);
        }

        public void TakeOff()
        {
            Console.WriteLine("{0}起飞了", this.Animaltype);
        }
    }
}
